﻿using He.Common.dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace He.Common.dto
{
    /// <summary>
    /// 分页数据
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Pagination<T> : PaginationItems<T>
    {
        /// <summary>
        /// 记录总数
        /// </summary>
        public int count { get; set; }
        /// <summary>
        /// 分页数据
        /// </summary>
        /// <param name="_count">记录总数</param>
        /// <param name="_items">数据列表</param>
        public Pagination(int _count, List<T> _items) : base(_items)
        {
            count = _count;
        }
    }
}
